package com.ej.demo.page;

import static org.testng.AssertJUnit.assertEquals;

import com.thoughtworks.selenium.Selenium;

public class FlightOptionsPage {
	
	private Selenium selenium;
	
	public FlightOptionsPage() {
		selenium = eJTestBase.getSeleniumObj();
	}

	public void navigateToHotelOptionPage() {
		String continueButton = "//a[@id='btnContinue']/span";
		selenium.click(continueButton);
		selenium.waitForPageToLoad("60000");
		assertEquals(selenium.getTitle(), "easyJet - Step 3 - Hotels");
	}
}
